Interface型 (graphql)
from
GraphQLの型
共通フィールドを強制できる抽象型
例
code:graphql (js)
interface Animal {
id: ID!
name: String!
}
type Dog implements Animal {
id: ID!
name: String!
barkVolume: Int
}